#include <REGX52.H>
#include "UART.h"

void main()
{
	UART_init();	
	while(1)
	{
		
	}
}

void UART_routine() interrupt 4
{
	if(RI == 1)
	{
		P2 = ~SBUF;
		UART_sendByte(SBUF);
		RI = 0;
	}
}
